-
Notifications
You must be signed in to change notification settings - Fork 1
Service File
Patrick edited this page Sep 28, 2021
·
1 revision
Here you can find an example file how the service file looks like with restricted rights.
Replace the username
value with your username. The service will be executed under the specified user after restarting. Files are then stored in the download folder of this user instead of root.
[Unit]
Description=Sinedo
[Service]
WorkingDirectory=/usr/share/sinedo
ExecStart=/usr/share/sinedo/sinedo
SyslogIdentifier=Sinedo
Restart=always
RestartSec=5
User=username
[Install]
WantedBy=multi-user.target
Then restart the service with these commands:
sudo systemctl daemon-reload
sudo systemctl restart sinedo
If a problem occurs, just create a bug report or start a discussion :)