• 11 Posts
  • 651 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle












  • I find the intermediary classification a bit unconvincing and perhaps unintentionally misleading. It sounds like a nice framework to look at the world and it does describe the particular domain alright and it allows for drawing useful conclusions. Unfortunately solving the problems it highlights would produce marginal gains because I think intermediaries as described are just a special case of something more general. Firms of any kind are acting as intermediaries in the exchange of the products of people’s labor. The effects are all the same, these intermediaries make the exchange easier at the expense of keeping some of the labor products from one end or the other, but usually both. It seems to me that the problem of the platform intermediaries power is just a special case of the power of firms over labor. Which really reduces to the problem of the power of capital over labor. If we somehow solve the platform intermediaries problem, we leave the general problem unsolved. And then if we don’t think in terms of the general problem, we can’t even solve the special problem because the tools needed are controlled by capital. That is the lawmakers who could change the law are paid by the powerful intermediaries (firms) and not by the people on either end of the intermediaries. If we hope to ever solve any of this I think we have to look at the world through the general lens and focus on ways to reduce the amount of capital accumulated by firms from people’s labor. Fortunately there are well known solutions for that and they’re actionable for most people.





  • You could use a systemd unit file:

    [Unit]
    Description=docker_compose_systemd-sonarr
    After=docker.service 
    Requires=docker.service
    
    [Service]
    TimeoutStartSec=0
    
    WorkingDirectory=/var/lib/sonarr
    
    ExecStartPre=-/usr/bin/docker compose kill --remove-orphans
    ExecStartPre=-/usr/bin/docker compose down --remove-orphans
    ExecStartPre=-/usr/bin/docker compose rm -f -s -v
    ExecStartPre=-/usr/bin/docker compose pull
    ExecStart=/usr/bin/docker compose up
    
    Restart=always
    RestartSec=30
    
    [Install]
    WantedBy=multi-user.target
    

    You’d place your compose file in the working dir /var/lib/sonarr. Depending on what tag you’ve set for the image in the compose file, it would be autoupdated, or stay fixed. E.g. lscr.io/linuxserver/sonarr:latest would get autoupdated whereas lscr.io/linuxserver/sonarr:4.0.10 would keep the container at version 4.0.10. If you want to update from 4.0.10, you’d have to change it in the compose file.