Commit graph

25 commits

Author SHA1 Message Date
Pig Monkey
966b159668 user kewlfft.aur collection
Closes #120 #74
2024-12-01 20:21:53 -08:00
Pig Monkey
49c32e26cf don't restart git-annex after copying the systemd file
The user service may not exist at this point, which would result in the
handler throwing an error.
2021-10-21 18:31:28 -07:00
Pig Monkey
4fce720bd8 systemd stdout/stderr syslog output is obsolete 2020-08-25 15:57:18 -07:00
Pig Monkey
53e00f14f4 replace deprecated systemd user parameter with scope
And formatting.
2019-04-30 21:04:33 -07:00
Pig Monkey
f3684a8279 update trusted_unit location in roles 2018-11-17 22:41:59 -08:00
Pig Monkey
5585ef9c7b move nmtrust to standalone role 2018-11-17 22:35:24 -08:00
Pig Monkey
5849754a26 replace size check with existence check
If the file does not exist, the dictionary will not have a size key.
2018-05-05 17:02:06 -07:00
Pig Monkey
715480754f run git-annex as a user service
When this role was created, Ansible did not support sytemd user units,
so we setup git-annex as a system service running as the user.  The only
practical difference in moving to a user service is that the user can
control the service without sudo, but we might as well.

Existing users should first stop, disable, and remove the old system
service:

    $ sudo systemctl stop git-annex@$USER.service
    $ sudo systemctl disable git-annex@$USER.service
    $ sudo rm /etc/systemd/system/git-annex@.*

If the system service is present in the trusted unit file, remove it.
2018-04-03 19:09:25 -07:00
Pig Monkey
ac5557b915 use a simple service for git-annex assistant 2017-02-20 16:56:29 -08:00
Pig Monkey
41229d0f78 install git-annex-remote-rclone 2016-08-19 17:08:15 -07:00
Pig Monkey
6fe54654b3 do not perform any git-annex tasks if gitannex variable is not defined 2016-08-18 20:46:24 -07:00
Pig Monkey
3a1a8cb50b increase amount of inotify watchers for git-annex assistant
annex all the things
2016-04-28 15:21:51 -07:00
Pig Monkey
ab04cfc8d5 only start git-annex if autostart file exists
The service will fail otherwise.
2016-04-02 14:19:11 -07:00
Pig Monkey
48912b59db add handlers
This should mostly eliminate the need to manually reload/restart
services (or reboot the machine) after updates.
2016-01-30 16:01:47 -08:00
Pig Monkey
d55cc7d734 better git-annex config options 2016-01-30 14:17:47 -08:00
Pig Monkey
b80feb22f9 remove unused git-annex dispatchers 2016-01-21 18:07:11 -08:00
Pig Monkey
e0b0d5ed27 upgrade nmtrust and change git-annex trust behaviour 2016-01-21 18:05:26 -08:00
Pig Monkey
75fbc07fd8 replace AUR packages for git-annex and pandoc
These both have a bunch of haskell dependencies, but now that git-annex
is available in Community enough of the dependencies are shared between
them that it seems worthwhile to do this. Fewer AUR packages is more
better.
2016-01-20 19:33:01 -08:00
Pig Monkey
7b65fecfc2 create networkmanager role 2016-01-18 22:04:33 -08:00
Pig Monkey
f276c4cdd4 match complete lines in trusted_networks file 2016-01-14 21:51:30 -08:00
Pig Monkey
d02b3e1f1a apparently dashes in yaml vars breaks stuff 2016-01-14 21:44:01 -08:00
Pig Monkey
698c5cf830 add git-annex network dispatchers 2016-01-14 21:35:35 -08:00
Pig Monkey
b31ec015cd add git-annex systemd service 2016-01-14 21:11:30 -08:00
Pig Monkey
2d0c544683 use ansible-aur module for AUR packages 2015-12-12 13:12:19 -08:00
Pig Monkey
b6c6dd140e initial commit 2015-09-06 15:51:37 -07:00