blog

systemd: service- and socket-file for amanda

/ 29 Januar 2013

I found this and took it as a template to create the following files needed to run an amanda-client on gentoo linux, with systemd:

/etc/systemd/system/amanda.socket

[Unit]
Description=Amanda Socket
[Socket]
ListenStream=10080
Accept=true
[Install]
WantedBy=sockets.target

/etc/systemd/system/amanda\@.service

[Unit]
Description=Amanda Backup System
After=local-fs.target
[Service]
User=amanda
Group=amanda
ExecStart=/usr/libexec/amanda/amandad -auth=bsdtcp amdump
StandardInput=socket
StandardOutput=socket

Zum Anfang