build files for making podman containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
536 B

[Unit]
# Implicit needs are explicitly needed to survive shutdown till stop finishes
After=network.target
Description=Valheim server
[Service]
ExecStart=/usr/local/bin/vh-start
ExecReload=/bin/kill -s HUP $MAINPID
KillSignal=SIGINT
User=vhadmin
WorkingDirectory=/home/vhadmin
Restart=on-failure
StandardOutput=journal
StandardError=journal
Type=simple
# security
#PrivateUsers=true
ProtectHome=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=full
[Install]
WantedBy=multi-user.target