kivyterminal/py/gadget/ubuntu/gadget.service
2023-12-05 11:11:59 +08:00

16 lines
334 B
Desktop File

[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