mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Move systemd service files to a separate directory
Since service files might be used by many distros (arch, rpm-based, gentoo, mindriva, mageia) I think it would be useful to symlink to standard ones (and copy and edit them if differences are needed).
This commit is contained in:
parent
e55262f60a
commit
0a071e479c
6 changed files with 33 additions and 30 deletions
|
@ -1,10 +0,0 @@
|
|||
[Unit]
|
||||
Description=The Salt Master Server
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/salt-master
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
1
pkg/rpm/salt-master.service
Symbolic link
1
pkg/rpm/salt-master.service
Symbolic link
|
@ -0,0 +1 @@
|
|||
../salt-master.service
|
|
@ -1,10 +0,0 @@
|
|||
[Unit]
|
||||
Description=The Salt Minion
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/salt-minion
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
1
pkg/rpm/salt-minion.service
Symbolic link
1
pkg/rpm/salt-minion.service
Symbolic link
|
@ -0,0 +1 @@
|
|||
../salt-minion.service
|
|
@ -1,10 +0,0 @@
|
|||
[Unit]
|
||||
Description=The Salt Master Server
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/salt-syndic
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
1
pkg/rpm/salt-syndic.service
Symbolic link
1
pkg/rpm/salt-syndic.service
Symbolic link
|
@ -0,0 +1 @@
|
|||
../salt-syndic.service
|
10
pkg/salt-master.service
Normal file
10
pkg/salt-master.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=The Salt Master Server
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/salt-master
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
10
pkg/salt-minion.service
Normal file
10
pkg/salt-minion.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=The Salt Minion
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/salt-minion
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
10
pkg/salt-syndic.service
Normal file
10
pkg/salt-syndic.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=The Salt Master Server
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/salt-syndic
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue