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:
Ivoz 2012-10-26 09:45:33 +11:00
parent e55262f60a
commit 0a071e479c
6 changed files with 33 additions and 30 deletions

View file

@ -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
View file

@ -0,0 +1 @@
../salt-master.service

View file

@ -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
View file

@ -0,0 +1 @@
../salt-minion.service

View file

@ -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
View file

@ -0,0 +1 @@
../salt-syndic.service

10
pkg/salt-master.service Normal file
View 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
View 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
View 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