Changes

From Amahi Wiki
Jump to: navigation, search
<strong>NOTE:</strong> ONLY service name is supported Fedora 14, i.e. f14f19(sshd). ===systemd service template===See http://blog.hqcodeshop.fi/archives/93-Handling-varrun-with-systemd.html for details. [Service] Type=forking PrivateTmp=yes User=nobody Group=nobody # Run ExecStartPre with root-permissions PermissionsStartOnly=true ExecStartPre=-/usr/bin/mkdir /var/run/dhis ExecStartPre=/usr/bin/chown -R nobody:nobody /var/run/dhis/ # Run ExecStart with User=nobody / Group=nobody ExecStart=/usr/sbin/dhid -P /var/run/dhis/dhid.pid PIDFile=/var/run/dhis/dhid.pid
12,424

edits