summarylogtreecommitdiffstats
path: root/sonospy-scan.service
blob: 6a9d0b67c433343db2aad38958912bd818897726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Sonospy Daemon
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/sonospy/app/sonospy
User=sonospy
Group=sonospy
Environment="SONOSPY_DB=/opt/sonospy/app/sonospy/sonospy.db"
Environment="MUSIC_PATH=/var/music"
EnvironmentFile=-/etc/sonospy/sonospy.conf
ExecStart=/usr/bin/env python2 /opt/sonospy/app/sonospy/scan.py -d ${SONOSPY_DB} ${MUSIC_PATH}

[Install]
WantedBy=multi-user.target