summaryrefslogtreecommitdiff
path: root/jwebmail.service.tmpl
blob: bbd7e39eaf177c906ce91fdd95cc964a7495e1f1 (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
User=$JWM_USER
ExecStart=/usr/bin/hypnotoad -f $JWM_HOME/script/jwebmail
ExecReload=/usr/bin/hypnotoad -f $JWM_HOME/script/jwebmail
PIDFile=$JWM_HOME/script/hypnotoad.pid
WorkingDirectory=$JWM_HOME
Environment=MOJO_LOG_LEVEL=$JWM_LOG_LEVEL MOJO_LOG_SHORT=1

[Install]
WantedBy=multi-user.target