summarylogtreecommitdiffstats
path: root/gonic.service
blob: 6f476c68edbc6991159b0b2cee7b935b264f0ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[Unit]
Description=Gonic: Subsonic server API implementation
Wants=network-online.target
After=network-online.target

[Service]
User=gonic
Group=gonic

Type=simple
ExecStart=/usr/bin/gonic

# Required variable:
Environment=GONIC_MUSIC_PATH=/home/

# Optional variables:
Environment=GONIC_DB_PATH=/var/lib/gonic/gonic.db
#Environment=GONIC_CACHE_PATH=/var/lib/gonic/gonic_cache
#Environment=GONIC_LISTEN_ADDR=0.0.0.0:4747
#Environment=GONIC_PROXY_PREFIX=
#Environment=GONIC_SCAN_INTERVAL=
#Environment=GONIC_JUKEBOX_ENABLED=false

[Install]
WantedBy=multi-user.target