diff options
Diffstat (limited to 'jwebmail.service.tmpl')
-rw-r--r-- | jwebmail.service.tmpl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/jwebmail.service.tmpl b/jwebmail.service.tmpl new file mode 100644 index 0000000..48776db --- /dev/null +++ b/jwebmail.service.tmpl @@ -0,0 +1,16 @@ +[Unit] +Description=JWebmail managed by hypnotoad +After=network.target + +[Service] +Type=exec +User=$JWM_USER +PIDFile=/run/$JWM_NAME.pid +ExecStart=/usr/bin/hypnotoad -f $JWM_HOME/script/jwebmail +ExecReload=/usr/bin/hypnotoad -f $JWM_HOME/script/jwebmail +KillMode=process +WorkingDirectory=$JWM_HOME +Environment=MOJO_LOG_LEVEL=debug MOJO_LOG_SHORT=1 + +[Install] +WantedBy=multi-user.target |