18 lines
529 B
Desktop File
18 lines
529 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]
|
|
EnvironmentFile=-/run/agama/environment.conf
|
|
Environment="AGAMA_LOG=debug,zbus=info"
|
|
Type=notify
|
|
ExecStart=/usr/bin/agama-web-server serve --address :::80 --address2 :::443
|
|
PIDFile=/run/agama/web.pid
|
|
User=root
|
|
TimeoutStopSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|