added systemd daemon file
This commit is contained in:
parent
7100dcea8b
commit
e3a1680c90
14
spotiplayer.service
Normal file
14
spotiplayer.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Spotiplayer
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/path/to/this/repository
|
||||
ExecStart=/usr/bin/python3 -m spotiplayer_pi.main
|
||||
Restart=on-failure
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user