32 lines
942 B
Desktop File
32 lines
942 B
Desktop File
#
|
|
# /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
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/petrified -c "%h/.petrifiedrc"
|
|
|
|
# A target is being provided in the case where the advanced
|
|
# admin wants to override this unit with multiple config files
|
|
# for multiple interfaces. In this use case, *both* the custom
|
|
# service units and the timer are enabled with systemctl (as each
|
|
# custom unit will not be called "petrified.service", instead
|
|
# something like "petrified-wlp3s0.service")
|
|
|
|
[Install]
|
|
WantedBy=petrified.target
|
|
|