agama/rust/share/agama-web-server.service

16 lines
441 B
Desktop File

[Unit]
Description=Agama Web Server
# agama-hostname might change the host name which is used when creating
# a self signed certificate, run it before the web server
After=network-online.target agama.service agama-hostname.service
BindsTo=agama.service
[Service]
Type=notify
ExecStart=/usr/bin/agama-web-server serve --address :::80 --address2 :::443
PIDFile=/run/agama/web.pid
User=root
TimeoutStopSec=5
[Install]
WantedBy=default.target