debian/service
raw| 1 | [Unit] |
| 2 | Description=AMPLE mp3 server |
| 3 | Documentation=man:ample |
| 4 | After=network.target |
| 5 | |
| 6 | [Service] |
| 7 | EnvironmentFile=/etc/default/ample |
| 8 | ExecStart=/usr/bin/ample -c 10 -f /etc/ample/ample.conf -i /run/ample.pid |
| 9 | ExecReload=/bin/kill -HUP $MAINPID |
| 10 | Type=forking |
| 11 | PIDFile=/run/ample.pid |
| 12 | PrivateTmp=yes |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy=multi-user.target |