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

[Service]
User=sonospy
Group=sonospy
WorkingDirectory=/opt/sonospy/app/
Environment="SERVICE=Sonospy"
Environment="SONOSPY_DB=sonospy.db"
Environment="SONOSPY_INI=userindex.ini"
EnvironmentFile=-/etc/sonospy/sonospy.conf
Type=forking
ExecStart=/opt/sonospy/app/sonospy_proxy -sSonospy=${SERVICE},${SONOSPY_DB},${SONOSPY_INI} -r
ExecStop=/opt/sonospy/app/sonospy_stop

[Install]
WantedBy=multi-user.target