minecraft-systemd-services/petrified.service

22 lines
579 B
Desktop File

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