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

[Install]
WantedBy=multi-user.target