add fnott.service file for systemd. #48

Open
markstos wants to merge 4 commits from markstos/fnott:add-service-file into master

Adds a systemd .service file.

Add to ~/.config/systemd/user/
and run systemctl --user enable --now fnott

This file should be installed in /lib/systemd/user/.

If there's a way to trigger the daemon to reload the the config file without a restart, that command can be added to an ExecReload= directive.

I wasn't sure if this file should live in the top level of the tree or somewhere else, so it's at the top level for now.

Adds a systemd `.service` file. Add to ~/.config/systemd/user/ and run `systemctl --user enable --now fnott` This file should be installed in `/lib/systemd/user/`. If there's a way to trigger the daemon to reload the the config file without a restart, that command can be added to an `ExecReload=` directive. I wasn't sure if this file should live in the top level of the tree or somewhere else, so it's at the top level for now.
markstos added 1 commit 5 months ago
f2e3971ff7 add fnott.service file for systemd.
https://codeberg.org/markstos/fnott/pulls/1
Owner

I'm holding off a merge until markstos/fnott#1 has been merged (or closed).

I'm holding off a merge until https://codeberg.org/markstos/fnott/pulls/1 has been merged (or closed).
markstos added 3 commits 4 months ago
ffb6cd2abf Update 'fnott.service'
Poster

That PR is merged now.

That PR is merged now.
dnkl reviewed 4 months ago
install_dir: join_paths(get_option('datadir'), 'doc', 'fnott'))
install_data('fnott.desktop', install_dir: join_paths(get_option('datadir'), 'applications'))
install_data('fnott.ini', install_dir: join_paths(get_option('datadir'), 'fnott'))
install_data('fnott.service', install_dir: join_paths(get_option('prefix'),'lib/systemd/user'))
dnkl commented 4 months ago
Owner

Should we make this conditional (similar to how it's done in foot)?

Should we make this conditional (similar to how it's done in [foot](https://codeberg.org/dnkl/foot/src/branch/master/meson.build#L248-L265))?

yes

yes
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.