summarylogtreecommitdiffstats
path: root/rocketchat.service
blob: 350629b9bab62f8d9ab5349e239f17f0a6f88a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Rocket.chat docker-compose service
Requires=docker.service
After=docker.service

[Service]
Restart=always
WorkingDirectory=/usr/share/rocketchat-server/
ExecStartPre=/usr/share/rocketchat-server/createEnvFile.sh
ExecStart=/usr/bin/docker-compose up
ExecStop=/usr/bin/docker-compose down -v

[Install]
WantedBy=multi-user.target