File watchman@.service of Package watchman
[Unit] Description=Watchman for user %i After=remote-fs.target Conflicts=shutdown.target [Service] ExecStart=/usr/bin/watchman --foreground --inetd ExecStop=/usr/bin/pkill -u %i -x watchman Restart=on-failure User=%i Group=users StandardInput=socket StandardOutput=syslog SyslogIdentifier=watchman-%i [Install] WantedBy=multi-user.target