petrified/systemd/petrified-user.service.in

23 lines
576 B
SYSTEMD

#
# /usr/lib/systemd/user/petrified.service
#
# This unit is intended for out-of-the-box turnkey operation
# and runs as the user using the predefined defaults for
# files and directories in $HOME/.petrifiedrc
#
# The provided petrified.timer unit is what should be enabled,
# not this service unit file directly:
#
# systemctl --user start petrified.timer
# systemctl --user enable petrified.timer
#
[Unit]
Description=Run petrified as %u
After=network-online.target
Requires=network-online.target
[Service]
Type=simple
ExecStart=@BINDIR@/petrified -c "%h/.petrifiedrc"