diff options
author | Graham Edgecombe | 2013-12-15 23:29:35 +0000 |
---|---|---|
committer | Graham Edgecombe | 2013-12-15 23:39:45 +0000 |
commit | 3270d2d9469b04771584ade27259a67a5efcd996 (patch) | |
tree | f3481d29e039d6b5584ed9f38c2048549c151d97 /rwhod.service | |
parent | e0fa89fe78520e626c85d6efc2b0515f3536ca5b (diff) | |
download | aur-3270d2d9469b04771584ade27259a67a5efcd996.tar.gz |
Overhaul most of the packaging.
- Replace rc.d file with systemd service file.
- Run as unprivileged user (rwhod) instead of root.
- Split PKGBUILD build() function into build() and package().
- Update to upstream version 0.17-3.
- Remove netkit-rwho conflict (this package does not seem to exist in
either the official repositories or the AUR.)
- Improve PKGBUILD conventions.
Diffstat (limited to 'rwhod.service')
-rw-r--r-- | rwhod.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rwhod.service b/rwhod.service new file mode 100644 index 000000000000..a25e2b0998b4 --- /dev/null +++ b/rwhod.service @@ -0,0 +1,11 @@ +[Unit] +Description=Remote WHO Daemon +After=syslog.target network.target + +[Service] +Type=forking +EnvironmentFile=/etc/conf.d/rwhod +ExecStart=/usr/bin/rwhod $RWHOD_OPTS + +[Install] +WantedBy=multi-user.target |