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

[Service]
User=movim
WorkingDirectory=/usr/share/webapps/movim
EnvironmentFile=/etc/default/movim
ExecStartPre=/usr/bin/php vendor/bin/phinx migrate
ExecStart=/usr/bin/php daemon.php start --url=${MOVIM_URL} --port=${MOVIM_PORT} --interface=${MOVIM_INTERFACE}
Restart=always

[Install]
WantedBy=multi-user.target