21 lines
344 B
SYSTEMD
21 lines
344 B
SYSTEMD
[Unit]
|
|
Description=play
|
|
Documentation=https://urmic.org
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=deva
|
|
Group=deva
|
|
TimeoutStartSec=0
|
|
Restart=always
|
|
RestartSec=30s
|
|
Requires=icecast2
|
|
ExecStart=/bin/bash /var/www/html/play.sh
|
|
SyslogIdentifier=play
|
|
#ExecStop=
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
#location /etc/systemd/system/play.service;
|