gadget/ubuntu/gadget.service

16 lines
334 B
SYSTEMD
Raw Permalink Normal View History

2023-12-05 11:33:44 +08:00
[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