forked from infra/ansible
15 lines
237 B
SYSTEMD
15 lines
237 B
SYSTEMD
|
[Unit]
|
||
|
Description=drone.io server
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=drone
|
||
|
EnvironmentFile=/etc/default/drone
|
||
|
ExecStart=/opt/drone/bin/drone-server
|
||
|
Restart=always
|
||
|
RestartSec=5s
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|