Browse Source

added restart to all systemd-units

dev
Netali 1 year ago
parent
commit
0417c9db2e
  1. 2
      utils/services/eulinchen-dc-pusher.service
  2. 2
      utils/services/eulinchen-dc-responder.service
  3. 2
      utils/services/eulinchen-poller.service
  4. 2
      utils/services/eulinchen-twitch-responder.service
  5. 2
      utils/services/eulinchen-web.service

2
utils/services/eulinchen-dc-pusher.service

@ -8,6 +8,8 @@ Group=eulinchen @@ -8,6 +8,8 @@ Group=eulinchen
WorkingDirectory=/var/eulinchen/prod/files/python/
Environment="PATH=/var/eulinchen/prod/venv/bin"
ExecStart=/var/eulinchen/prod/venv/bin/python3 dc_pusher.py
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target

2
utils/services/eulinchen-dc-responder.service

@ -8,6 +8,8 @@ Group=eulinchen @@ -8,6 +8,8 @@ Group=eulinchen
WorkingDirectory=/var/eulinchen/prod/files/python/
Environment="PATH=/var/eulinchen/prod/venv/bin"
ExecStart=/var/eulinchen/prod/venv/bin/python3 dc_responder.py
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target

2
utils/services/eulinchen-poller.service

@ -8,6 +8,8 @@ Group=eulinchen @@ -8,6 +8,8 @@ Group=eulinchen
WorkingDirectory=/var/eulinchen/prod/files/python/
Environment="PATH=/var/eulinchen/prod/venv/bin"
ExecStart=/var/eulinchen/prod/venv/bin/python3 poller.py
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target

2
utils/services/eulinchen-twitch-responder.service

@ -8,6 +8,8 @@ Group=eulinchen @@ -8,6 +8,8 @@ Group=eulinchen
WorkingDirectory=/var/eulinchen/prod/files/python/
Environment="PATH=/var/eulinchen/prod/venv/bin"
ExecStart=/var/eulinchen/prod/venv/bin/python3 twitch_responder.py
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target

2
utils/services/eulinchen-web.service

@ -8,6 +8,8 @@ Group=www-data @@ -8,6 +8,8 @@ Group=www-data
WorkingDirectory=/var/eulinchen/prod/files/python/
Environment="PATH=/var/eulinchen/prod/venv/bin"
ExecStart=/var/eulinchen/prod/venv/bin/uwsgi --ini web.ini
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save