Initial commit.
This commit is contained in:
1
systemd/user/default.target.wants/fn_lock_server.service
Symbolic link
1
systemd/user/default.target.wants/fn_lock_server.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/igor/.config/systemd/user/fn_lock_server.service
|
||||
1
systemd/user/default.target.wants/gpu-screen-recorder-ui.service
Symbolic link
1
systemd/user/default.target.wants/gpu-screen-recorder-ui.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/igor/.local/share/systemd/user/gpu-screen-recorder-ui.service
|
||||
1
systemd/user/default.target.wants/syncthing.service
Symbolic link
1
systemd/user/default.target.wants/syncthing.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/igor/.config/systemd/user/syncthing.service
|
||||
10
systemd/user/fn_lock_server.service
Normal file
10
systemd/user/fn_lock_server.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Apple Magic Keyboard FN Lock
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/igor/Developer/linux/fn_lock_server/fn_lock_server
|
||||
Type=forking
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
27
systemd/user/syncthing.service
Normal file
27
systemd/user/syncthing.service
Normal file
@@ -0,0 +1,27 @@
|
||||
[Unit]
|
||||
Description=Syncthing - Open Source Continuous File Synchronization
|
||||
Documentation=man:syncthing(1)
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=4
|
||||
|
||||
[Service]
|
||||
Environment="STLOGFORMATTIMESTAMP="
|
||||
Environment="STLOGFORMATLEVELSTRING=false"
|
||||
Environment="STLOGFORMATLEVELSYSLOG=true"
|
||||
ExecStart=/home/igor/.local/bin/syncthing serve --no-browser --no-restart
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
SuccessExitStatus=3 4
|
||||
RestartForceExitStatus=3 4
|
||||
|
||||
# Hardening
|
||||
SystemCallArchitectures=native
|
||||
MemoryDenyWriteExecute=true
|
||||
NoNewPrivileges=true
|
||||
|
||||
# Elevated permissions to sync ownership (disabled by default),
|
||||
# see https://docs.syncthing.net/advanced/folder-sync-ownership
|
||||
#AmbientCapabilities=CAP_CHOWN CAP_FOWNER
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user