Service auto-restart

This commit is contained in:
Dylan 2022-06-01 19:25:23 +00:00
parent 891db049af
commit 285c8f70f8

View file

@ -8,6 +8,8 @@ Group=dylan
WorkingDirectory=/home/dylan/BetterTwitFix WorkingDirectory=/home/dylan/BetterTwitFix
Environment="PATH=/home/dylan/BetterTwitFix/venv/bin" Environment="PATH=/home/dylan/BetterTwitFix/venv/bin"
ExecStart=/home/dylan/BetterTwitFix/venv/bin/uwsgi --ini twitfix.ini ExecStart=/home/dylan/BetterTwitFix/venv/bin/uwsgi --ini twitfix.ini
Restart=always
RestartSec=3
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target