2021-01-02 03:21:55 +01:00
|
|
|
[Unit]
|
|
|
|
Description=drone.io build server
|
|
|
|
Documentation=https://docs.drone.io/
|
|
|
|
|
|
|
|
After=mysqld.target
|
|
|
|
After=network.target
|
|
|
|
After=postgresql-9.3.service
|
|
|
|
After=postgresql-9.4.service
|
|
|
|
After=postgresql-9.5.service
|
|
|
|
After=postgresql-9.6.service
|
|
|
|
After=postgresql-10.service
|
|
|
|
After=postgresql-11.service
|
|
|
|
After=postgresql-12.service
|
|
|
|
#Requires=docker.service
|
|
|
|
Requires=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=drone
|
|
|
|
Group=drone
|
|
|
|
|
2021-01-02 04:46:15 +01:00
|
|
|
ExecStart=/usr/sbin/drone-server -env-file /etc/drone/app.ini
|
2021-01-02 03:21:55 +01:00
|
|
|
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|