step two: rest of the fucking owl
This commit is contained in:
15
dinnerbell.service
Normal file
15
dinnerbell.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Dinnerbell Python script
|
||||
After=network.target sound.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/dinnerbell --daemon --directory=${AUDIO_DIR}
|
||||
Environment=AUDIO_DIR=/etc/dinnerbell/audio
|
||||
Restart=on-failure
|
||||
User=nobody
|
||||
Group=nogroup
|
||||
WorkingDirectory=/opt/dinnerbell/
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user