summarylogtreecommitdiffstats
path: root/movim.service
blob: 30a66748e365e619f7f95e814e08676b170b5572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Movim Daemon
After=network.target

[Service]
Group=http
WorkingDirectory=/usr/share/webapps/movim
EnvironmentFile=/etc/default/movim
ExecStartPre=/usr/bin/php mud.php db --set
ExecStart=/usr/bin/php daemon.php start --url=${MOVIM_URL} --port=${MOVIM_PORT} --interface=${MOVIM_INTERFACE}
Restart=always

[Install]
WantedBy=multi-user.target