Create new service configs for my desktop stuff.

This commit is contained in:
josiah 2022-02-12 11:12:57 -06:00
parent a5ba4537cb
commit 2fb59d7092
4 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,17 @@
[Unit]
Description=Runs Calibre remotely from Hatchery
After=network.target
[Service]
User=josiah
ExecStart=ssh -i /home/josiah/.ssh/home-net -X josiah@hatchery -v -Y calibre
LimitNOFILE=1024
Restart=always
RestartSec=10
Environment=DISPLAY=:0
PermissionsStartOnly=true
[Install]
WantedBy=default.target

View File

@ -0,0 +1,17 @@
[Unit]
Description=runs the nm applet for the system tray
After=network.target
[Service]
User=josiah
ExecStart=/usr/bin/nm-applet
LimitNOFILE=1024
Restart=always
RestartSec=10
Environment=DISPLAY=:0
PermissionsStartOnly=true
[Install]
WantedBy=default.target

View File

@ -0,0 +1,20 @@
[Unit]
Description=Runs the SyncthingTray process.
After=network.target
[Service]
User=josiah
WorkingDirectory=/home/josiah/bin/
# workingdir didn't seem to function, had to pass full path to execstart
ExecStart=/home/josiah/bin/syncthingtray-1.1.15-Build56.1.glibc2.17-x86_64.AppImage
LimitNOFILE=1024
Restart=always
RestartSec=10
startLimitIntervalSec=60
Environment=DISPLAY=:0
PermissionsStartOnly=true
[Install]
WantedBy=default.target

View File

@ -0,0 +1,18 @@
[Unit]
Description=Runs the tailscale systray
After=network.target
Wants=tailscaled.service
[Service]
User=josiah
ExecStart=/home/josiah/go/bin/tailscale-systray
LimitNOFILE=1024
Restart=always
RestartSec=10
Environment=DISPLAY=:0
PermissionsStartOnly=true
[Install]
WantedBy=default.target