summaryrefslogtreecommitdiff
path: root/install/jwebmail.service.in
blob: 8c03dded9835cc07621784da43ef19046f8fc177 (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=/run/jwebmail/hypnotoad.pid
Environment=MOJO_LOG_SHORT=1 MOJO_CONFIG=@DESTDIR@@PREFIX@/@CONFDIR@/jwebmail.toml
User=jwebmail

[Install]
WantedBy=multi-user.target