blob: a20bd8966f86dfe9b85f0fc5b64026c9f4d2bda8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=9web local sites, build controls and listener catalogue
After=network.target
[Service]
ExecStart=%h/.local/libexec/9web --listen [::]:8090 --catalog %h/.config/9web/sites.json --catalog-socket %t/9web/catalog.sock --state-dir %h/.local/state/9web
Restart=on-failure
RestartSec=2
RuntimeDirectory=9web
RuntimeDirectoryMode=0700
UMask=0077
KillMode=control-group
TimeoutStopSec=10
NoNewPrivileges=yes
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
[Install]
WantedBy=default.target
|