modify After directive of systemd config files
parent
625c5eb326
commit
b6ef9d0f25
|
|
@ -1,11 +1,12 @@
|
|||
[Unit]
|
||||
Description=FastDFS storaged service
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/opt/fastcfs/data/fdfs_storaged.pid
|
||||
ExecStart=/usr/bin/fdfs_storaged /etc/fdfs/storage.conf restart
|
||||
ExecStart=/usr/bin/fdfs_storaged /etc/fdfs/storage.conf start
|
||||
ExecStop=/usr/bin/fdfs_storaged /etc/fdfs/storage.conf stop
|
||||
|
||||
# No artificial start/stop timeout
|
||||
TimeoutSec=0
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
[Unit]
|
||||
Description=FastDFS trackerd service
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/opt/fastcfs/data/fdfs_trackerd.pid
|
||||
ExecStart=/usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf restart
|
||||
ExecStart=/usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf start
|
||||
ExecStop=/usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf stop
|
||||
|
||||
# No artificial start/stop timeout
|
||||
TimeoutSec=0
|
||||
|
|
|
|||
Loading…
Reference in New Issue