]> arthur.barton.de Git - netatalk.git/commitdiff
update redhat-systemd service file
authorHAT <hat@fa2.so-net.ne.jp>
Sat, 24 Mar 2012 16:53:23 +0000 (01:53 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Sat, 24 Mar 2012 16:53:23 +0000 (01:53 +0900)
distrib/initscripts/.gitignore
distrib/initscripts/Makefile.am
distrib/initscripts/service.netatalk.systemd.tmpl [deleted file]
distrib/initscripts/service.systemd.tmpl [new file with mode: 0644]

index 24f061b41f4e812ae3c38a2b97b372d22181b80f..949e409accf40ef98e4060d897baf4c570f59e63 100644 (file)
@@ -1,14 +1,14 @@
 Makefile
 Makefile.in
-rc.atalk.bsd
-rc.atalk.redhat-sysv
-rc.atalk.suse-sysv
-rc.atalk.tru64
-rc.atalk.sysv
-service.atalk.systemd
-service.atalk-cnid.systemd
+rc.bsd
+rc.debian
+rc.gentoo
+rc.netbsd
+rc.redhat
+rc.solaris
+rc.suse
+service.systemd
 netatalk
 netatalk.service
-netatalk-cnid.service
 .gitignore
 *.o
index c75f4506f111f88b282b3492d02a3e468239cf67..0987865f8861586b2d58d7986ef16bc21c6ab50e 100644 (file)
@@ -23,7 +23,7 @@ GENERATED_FILES = \
        rc.redhat \
        rc.solaris \
        rc.suse \
-       service.netatalk.systemd
+       service.systemd
 
 TEMPLATES = \
        rc.bsd.tmpl \
@@ -33,7 +33,7 @@ TEMPLATES = \
        rc.redhat.tmpl \
        rc.solaris.tmpl \
        rc.suse.tmpl \
-       service.netatalk.systemd.tmpl
+       service.systemd.tmpl
 
 CLEANFILES = $(GENERATED_FILES) $(sysv_SCRIPTS) $(service_DATA) afpd cnid_metad
 EXTRA_DIST = $(TEMPLATES)
@@ -75,8 +75,8 @@ if USE_SYSTEMD
 servicedir     = /lib/systemd/system
 service_DATA   = netatalk.service
 
-netatalk.service: service.netatalk.systemd
-       cp -f service.netatalk.systemd netatalk.service
+netatalk.service: service.systemd
+       cp -f service.systemd netatalk.service
 
 install-data-hook:
        -systemctl daemon-reload
diff --git a/distrib/initscripts/service.netatalk.systemd.tmpl b/distrib/initscripts/service.netatalk.systemd.tmpl
deleted file mode 100644 (file)
index a99baae..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is part of netatalk :NETATALK_VERSION:.
-
-[Unit]
-Description=Netatalk AFP fileserver for Macintosh clients
-After=syslog.target network.target avahi-daemon.service netatalk-cnid.service
-
-[Service]
-Type=forking
-GuessMainPID=no
-ExecStart=:SBINDIR:/netatalk
-Restart=always
-RestartSec=1
-
-[Install]
-WantedBy=multi-user.target
diff --git a/distrib/initscripts/service.systemd.tmpl b/distrib/initscripts/service.systemd.tmpl
new file mode 100644 (file)
index 0000000..2183f30
--- /dev/null
@@ -0,0 +1,15 @@
+# This file is part of netatalk :NETATALK_VERSION:.
+
+[Unit]
+Description=Netatalk AFP fileserver for Macintosh clients
+After=syslog.target network.target avahi-daemon.service
+
+[Service]
+Type=forking
+GuessMainPID=no
+ExecStart=:SBINDIR:/netatalk
+Restart=always
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target