space/space.service

23 lines
486 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Space service
Requires=docker.service
After=docker.service
[Service]
Environment="PG_PASSWORD="
Environment="WB_PASSWORD="
Environment="PH_PASSWORD="
Environment="PH_SERVER_IP="
Environment="GT_SECRET_KEY="
2018-07-07 21:47:01 +05:30
Environment="MR_PASSWORD="
2018-08-04 17:43:42 +05:30
Environment="DRONE_SECRET="
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/home/abhinav/space
ExecStart=/usr/bin/docker-compose up -d
ExecStop=/usr/bin/docker-compose stop
TimeoutStartSec=0
[Install]
WantedBy=multi-user.target