]> git.somenet.org - pub/jan/scripts.git/blob - runvmVMNAME@.service
ingress autorecharger.
[pub/jan/scripts.git] / runvmVMNAME@.service
1 [Unit]
2 Description=%p on %I
3
4 [Service]
5 Type=simple
6 User=jan
7 WorkingDirectory=/home/jan/
8 ExecStart=-/bin/zsh -c '~/bin/runvm.sh %p runvm'
9 ExecStop=-/bin/sh -c 'echo %p ended.'
10 StandardInput=tty
11 StandardOutput=tty
12 TTYPath=/dev/%I
13 Restart=always
14 RestartSec=15
15
16 [Install]
17 WantedBy=multi-user.target
18