16 lines
334 B
SYSTEMD
16 lines
334 B
SYSTEMD
|
[Unit]
|
||
|
Description=Gadget Webserver base on aiothhp
|
||
|
After=network.target mariadb.service
|
||
|
|
||
|
[Service]
|
||
|
# EnvironmentFile=-/etc/default/gadget
|
||
|
ExecStart=/d/gadget/bin/start.sh
|
||
|
ExecStop=/usr/bin/killall gadget
|
||
|
KillMode=process
|
||
|
RuntimeDirectory=/d/gadget
|
||
|
RuntimeDirectoryMode=0755
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
Alias=gadget.service
|