Skip to content
Snippets Groups Projects
Commit 7968cbf0 authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

Install script and systemd service

parent 071990ec
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
ln -sr vm.py /usr/bin/vm
cp vm.service /lib/systemd/system/
[Unit]
Description=vm
After=network.target
[Service]
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin:/home/jiri/bin
WorkingDirectory=/mnt/virtual
ExecStart=/mnt/virtual/prog/vm.py server
Restart=always
RestartSec=10
[Install]
WantedBy=default.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment