summaryrefslogtreecommitdiff
path: root/install/jwebmail.service.in
blob: e15638d6e4c4624736aa0bb5f8efebd6586b93ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=JWebmail managed by hypnotoad
After=network.target

[Service]
Type=exec
ExecStart=hypnotoad -f @DESTDIR@@PERL_BIN_PATH@/jwebmail
ExecReload=hypnotoad -f @DESTDIR@@PERL_BIN_PATH@/jwebmail
PIDFile=$XDG_RUNTIME_DIR/jwebmail.pid
Environment=MOJO_LOG_SHORT=1 MOJO_CONFIG=@DESTDIR@@PREFIX@/@CONFDIR@/jwebmail.toml
User=jwebmail

[Install]
WantedBy=multi-user.target