summaryrefslogtreecommitdiff
path: root/install/jwebmail.service.in
blob: 2e8cdc59c071182cd4b07dbaa7361c3f0b9888cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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
RuntimeDirectory=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