adding systemd timer, instance, target
This commit is contained in:
parent
2adf9a87f5
commit
f34063e5dc
3 changed files with 20 additions and 0 deletions
11
systemd/petrified@.service
Normal file
11
systemd/petrified@.service
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Run petrified as %i
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/petrified
|
||||
User=%i
|
||||
|
||||
[Install]
|
||||
WantedBy=petrified.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue