From aa36b93780baf969eb4bec9308dc3b5ad6efa5cb Mon Sep 17 00:00:00 2001 From: josiah Date: Sat, 26 Mar 2022 12:36:08 -0500 Subject: [PATCH] Moving user service files to version control. --- .config/systemd/user/calibre-remote.service | 14 ++++++++++++++ .config/systemd/user/nm-applet.service | 17 +++++++++++++++++ .config/systemd/user/syncthing-systray.service | 16 ++++++++++++++++ .config/systemd/user/tailscale-systray.service | 18 ++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 .config/systemd/user/calibre-remote.service create mode 100644 .config/systemd/user/nm-applet.service create mode 100644 .config/systemd/user/syncthing-systray.service create mode 100644 .config/systemd/user/tailscale-systray.service diff --git a/.config/systemd/user/calibre-remote.service b/.config/systemd/user/calibre-remote.service new file mode 100644 index 0000000..2b68846 --- /dev/null +++ b/.config/systemd/user/calibre-remote.service @@ -0,0 +1,14 @@ +[Unit] +Description=Runs Calibre remotely from Hatchery +After=network.target + +[Service] +ExecStart=/run/current-system/sw/bin/ssh -i /home/josiah/.ssh/home-net -X josiah@hatchery -v -Y calibre +Restart=always +RestartSec=10 +Environment=DISPLAY=:0 + +PermissionsStartOnly=true + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/nm-applet.service b/.config/systemd/user/nm-applet.service new file mode 100644 index 0000000..3269f41 --- /dev/null +++ b/.config/systemd/user/nm-applet.service @@ -0,0 +1,17 @@ +[Unit] +Description=runs the nm applet for the system tray +After=network.target + +[Service] +User=josiah +ExecStart=/run/current-system/sw/bin/nm-applet +LimitNOFILE=1024 + +Restart=always +RestartSec=10 +Environment=DISPLAY=:0 + +PermissionsStartOnly=true + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/syncthing-systray.service b/.config/systemd/user/syncthing-systray.service new file mode 100644 index 0000000..f0cc72d --- /dev/null +++ b/.config/systemd/user/syncthing-systray.service @@ -0,0 +1,16 @@ +[Unit] +Description=Runs the SyncthingTray process. +After=network.target + +[Service] +ExecStart=/run/current-system/sw/bin/syncthingtray + +Restart=always +RestartSec=10 +Environment=DISPLAY=:0 + +StandardOutput=syslog +StandardError=syslog + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/tailscale-systray.service b/.config/systemd/user/tailscale-systray.service new file mode 100644 index 0000000..69359f9 --- /dev/null +++ b/.config/systemd/user/tailscale-systray.service @@ -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