Browse Source

Adicionar 'examples.of.what.worked.for.me//lib/systemd/system/ocelot.service'

hierra 6 years ago
parent
commit
47ba06e9d4
1 changed files with 20 additions and 0 deletions
  1. 20
    0
      examples.of.what.worked.for.me/lib/systemd/system/ocelot.service

+ 20
- 0
examples.of.what.worked.for.me/lib/systemd/system/ocelot.service View File

@@ -0,0 +1,20 @@
1
+[Unit]
2
+Description=Ocelot Bittorrent Tracker
3
+After=network.target
4
+After=mysql.target
5
+Requires=network.target
6
+Requires=mysql.service
7
+
8
+[Service]
9
+Type=simple
10
+TimeoutStartSec=0
11
+ExecStart=/usr/local/bin/ocelot
12
+ExecReload=/bin/kill -HUP $MAINPID
13
+PIDFile=/var/run/ocelot.pid
14
+RestartSec=20
15
+TimeoutStopSec=60
16
+TimeoutStartSec=360
17
+Restart=always
18
+
19
+[Install]
20
+WantedBy=multi-user.target

Loading…
Cancel
Save