17 lines
346 B
Desktop File
17 lines
346 B
Desktop File
[Unit]
|
|
Description=media service
|
|
Documention=media service to control media service start or stoop
|
|
After=mariadb.service
|
|
Wants=systemd-networkd.service
|
|
Requires=nginx.service
|
|
|
|
[Service]
|
|
User=ymq
|
|
Group=ymq
|
|
Type=forking
|
|
ExecStart="/home/ymq/py/media/script/run.sh"
|
|
ExecStop="/home/ymq/py/media/script/stop.sh"
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|